import { stringify } from 'qs';
import request from '../utils/request';
import API from './ipConfig'

/**
 *获取收款码配置
 *
 */
export async function getProceedsConfig() {
  return request(`${API}/sys/rechargeManage/getProceedsConfig`,{
    method: 'GET',
  });
}


/**
 *修改收款码配置
 *
 */
export async function updateProceedsConfig(params) {
  return request(`${API}/sys/rechargeManage/updateProceedsConfig`,{
    method: 'POST',
    body: params,
  });
}


